﻿@model KidsGest.Models.PreRegistoModel

@{
    ViewBag.Title = "KidsGest :: Pré-Inscrição";
}

<h2>Create</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Formulário de Pré-Inscrição</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.NomeAluno)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NomeAluno)
            @Html.ValidationMessageFor(model => model.NomeAluno)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DataNascimento)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DataNascimento)
            @Html.ValidationMessageFor(model => model.DataNascimento)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NomePai)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NomePai)
            @Html.ValidationMessageFor(model => model.NomePai)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProfissaoPai)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProfissaoPai)
            @Html.ValidationMessageFor(model => model.ProfissaoPai)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EstadoCivilPai)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EstadoCivilPai)
            @Html.ValidationMessageFor(model => model.EstadoCivilPai)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NomeMae)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NomeMae)
            @Html.ValidationMessageFor(model => model.NomeMae)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProfissaoMae)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProfissaoMae)
            @Html.ValidationMessageFor(model => model.ProfissaoMae)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EstadoCivilMae)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EstadoCivilMae)
            @Html.ValidationMessageFor(model => model.EstadoCivilMae)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Telefone)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telefone)
            @Html.ValidationMessageFor(model => model.Telefone)
        </div>

        <p>
            <input type="submit" value="Enviar" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Voltar ao Inicio", "Index", "Home")
</div>
